package com.huan.springcloud.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 作者： huan
 *
 * @Date 2022-03-29 23:25
 * @Description  Dept实体类
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class Dept implements Serializable {
    private int deptno;
    private String dname;
    private String db_source;

    public Dept(String dname)
    {
        this.dname = dname;
    }
}